package com.example.myapplication;

import android.content.Context;
import android.webkit.JavascriptInterface;
import android.widget.Toast;

public class PresentToJs {

    private Context context;

    public PresentToJs(Context context){
        this.context = context;
    }

    @JavascriptInterface
    public void show(String s) {
        Toast.makeText(context,s,Toast.LENGTH_SHORT).show();
    }
}
